FROM    node:7.4.0
MAINTAINER  Andy Zhang<zch@cn.ibm.com>

WORKDIR /app
LABEL   VERSION 1.0.0-alpha2
COPY     bower.json .bowerrc package.json /app/
LABEL   VERSION_M alpha2
RUN     npm install -g bower --registry=https://registry.npm.taobao.org \
        && bower install
RUN     npm install --registry=https://registry.npm.taobao.org
COPY    . /app
ENTRYPOINT  ["npm", "start"]
